﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace mozhi.smarterp.Finance.Reports
{
    public class FinancialReportItemUpdateDto : EntityDto<Guid>
    {
        public List<FinancialReportItemSettingUpdateDto> Settings;
    }

    public class FinancialReportItemSettingUpdateDto : EntityDto<Guid?>
    {
        public Guid FinancialReportItemId { set; get; }

        public string FinancialReportItemCode { set; get; }

        /// <summary>
        /// 计算对象（科目代码或者行号（R开头））
        /// </summary>
        public string CalculateTarget { set; get; }

        public Guid? CalculateTargetId { set; get; }

        /// <summary>
        /// 操作符号（+ ， -）
        /// </summary>
        public string Operator { set; get; }

        /// <summary>
        /// 前置条件
        /// </summary>
        public int? Precondition { set; get; }
    }
}
